import layoutHeaderAside from '@/layout/header-aside'

const meta = { auth: true }

export default {
  path: '/merchant',
  component: layoutHeaderAside,
  children: (pre => [
    {
      path: 'admin/info',
      name: `${pre}admin-detail`,
      meta: { ...meta, cache: true, title: '商户信息' },
      component: () => import('@/views/merchant/admin/info')
    }
  ])('merchant-')
}
